DecimalValue = eval(input())


def decimalToBinary(value):
    l = []
    while True:
        integer_part = value // 2
        reminder = value % 2
        l.insert(0, reminder)
        value = integer_part
        if integer_part < 2:
            l.insert(0, integer_part)
            break
    result = ''

    for i in l:
        result += str(i)

    return int(result)


print('The binary value is',decimalToBinary(DecimalValue))
